<!DOCTYPE html>
<html lang="zh-CN" ng-app='he'>
	<head>
		<meta charset='utf-8' />
	
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<script src="http://cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.6/angular.min.js"></script>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.6/angular-sanitize.min.js"></script>
		<script src="http://cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
		<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
		<!--<script src="/static/js/func.js"></script>-->
		<link rel="stylesheet" href="/static/css/resetStyle.css"/>
		<!--<link rel="stylesheet" href="http://apps.bdimg.com/libs/fontawesome/4.4.0/css/font-awesome.min.css"/>-->
		<link rel="stylesheet" href="/static/plugins/font-awesome/css/font-awesome.min.css"/>
		<script src="/static/js/he_utiliz.js"></script>
		<title ng-bind='title'></title>
	</head>
	<body>
	{% block content %}

	<div>内容需要被覆盖</div>
	
	{% endblock %}
		<!-----------信息提示框-html----------------->
		<div id="_info" class="successful"><div class="prompt-pages">
			<p id='_info_content'></p>
			<button type="button" class="btn btn-default" onclick="_quit_info()">OK</button>
			 </div>
		</div>
		<!------------确认提示框-html-------------------->
		<div id="_assure" class="successful"><div class="prompt-pages">
			<p id='_assure_content'></p>
			<button type="button" class="btn btn-default" onclick="_quit_assure(true)">YES</button> 
	    	<button type="button" class="btn btn-default" onclick="_quit_assure(false)">NO</button>
	    	</div>
	    </div>
	    
		<script type="text/javascript">
			// 信息提示框js,
			// msg: 消息
			// callback: 回调函数 func(){}
			function info(msg,callback) {
				$('#_info_content')[0].innerHTML=msg;
				$('#_info').show();
				
				function _quit_info() {
					$('#_info').hide();
					if(typeof(callback)!='undefined'){
						callback();
					}
				}
				window._quit_info=_quit_info
			}
			// 确认框js
			// msg :
			// callback : func(bool){}
			function assure(msg,callback) {
				$('#_assure_content')[0].innerHTML=msg;
				$('#_assure').show();

				function _quit_assure(bool) {
					$('#_assure').hide();
					if(typeof(callback)!='undefined'){
						callback(bool);
					}
				}
				window._quit_assure=_quit_assure;
			}

		</script>
	</body>
</html>